package com.company.nuwa.common.enumration;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * <p></p>
 *
 * @author Lionel Lee
 * @version 1.0: YesOrNoEnum.java
 * @date 2021/5/21 6:14 下午
 */
@AllArgsConstructor
@Getter
public enum YesOrNoEnum {


    /**
     * 是
     */
                         YES(1,"是"),

    /**
     *  否
     */
    NO(0,"否"),
    ;

    @Getter
    private final Integer code;

    @Getter
    private final String  message;
}
